package com.cddx.logistics.service;


import com.cddx.logistics.domain.dto.VehicleQueryDTO;
import com.cddx.logistics.domain.pojo.Vehicle;
import com.cddx.logistics.domain.vo.VehicleVO;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface VehicleService {
    PageInfo<VehicleVO> queryPage(VehicleQueryDTO queryDTO);
    boolean add(Vehicle vehicle);
    boolean update(Vehicle vehicle);
    boolean delete(Integer id);
    boolean batchDelete(List<Integer> ids);
}
